package com.ai.aichat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 对话标签关联表
 * </p>
 *
 * @author baomidou
 * @since 2025-09-16
 */
@Data
@TableName("conversation_tags")
@ApiModel(value = "ConversationTags对象", description = "对话标签关联表")
public class ConversationTags implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 关联ID
     */
    @ApiModelProperty("关联ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 对话ID
     */
    @ApiModelProperty("对话ID")
    private Long conversationId;

    /**
     * 标签ID
     */
    @ApiModelProperty("标签ID")
    private Long tagId;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDateTime createdAt;
}
